﻿using ConsoleApp1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    public enum vagetabal
    {
        佛跳墙,
        东北大乱炖
    }
    class CookRobot : Robot
    {

        public vagetabal Vagetabal { get; set; }


        public CookRobot(string name,vagetabal CAI):base( name)
        {
            this.Vagetabal = CAI;
        }



        public override void Working()
        {
            Console.WriteLine("我是炒菜机器人，我叫{0}，我炒的菜是{1}",this.Name,this.Vagetabal);
        }

    }
}
